package com.lsl.endworkvol.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.lsl.endworkvol.entity.Activity;

@Repository
@Mapper
public interface ActivityMapper {
    
    int insert(Activity acti);

    int delete(int id);

    int update(Activity acti);

    int updateVolunteerCountPlus(int id);

    int updateVolunteerCountMinus(int id);

    Activity selectById(int id);

    List<Activity> selectByLeaderId(int leaderId);

    List<Activity> selectAll();

    List<Activity> blur(Activity acti);
}
